package com.gpj.learn.rabbitmq.common;

/**
 * @className Config
 * @description
 *   TODO
 * @author GPJ
 * @date 2021/5/30 11:34
 * @version 1.0
 **/
public class CommonConstants {
	public static final String RABBITMQ_HOST = "112.126.57.86";
	public static final Integer RABBITMQ_PORT = 5672;
	public static final String RABBITMQ_USER = "admin";
	public static final String RABBITMQ_PASSWORD = "admin";
	public static final String RABBITMQ_VIRTUALHOST = "/gpj";

	public static final String RABBITMQ_QUEUE_HELLOWORLD = "helloworld";
	public static final String RABBITMQ_QUEUE_WORKQUEUE = "workqueue";
	public static final String RABBITMQ_QUEUE_TTL = "queue-ttl";
	public static final String RABBITMQ_QUEUE_DLX_NORMAL = "queue-dlx-normal";
	public static final String RABBITMQ_QUEUE_DLX_DEADLETTER = "queue-dlx-deadletter";

	public static final String RABBITMQ_EXCHANGE_PUBSUB = "pubsub";
	public static final String RABBITMQ_EXCHANGE_ROUTING = "routing";
	public static final String RABBITMQ_EXCHANGE_TOPIC = "topic";
	public static final String RABBITMQ_EXCHANGE_TTL = "ttl";
	public static final String RABBITMQ_EXCHANGE_DLX_NORMAL = "exchange-dlx-normal";
	public static final String RABBITMQ_EXCHANGE_DLX_DEADLETTER = "exchange-dlx-deadletter";
}
